//
//  DateView.h
//  ChatDemo-UI2.0
//
//  Created by li.guibin on 15/12/15.
//  Copyright © 2015年 li.guibin. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>


@class DateView;

@protocol DateViewDelegate <NSObject>

-(void)loadDateSource:(DateView *)dateView date:(NSString *)dateStr;

@end
@interface DateView : UIView
@property(nonatomic,strong)UIDatePicker * datePicker;
- (instancetype)initAddSuperView:(UIView *)superView;
@property (nonatomic, copy)void (^getDate)(NSString * dateStr);
@property(nonatomic,assign)id<DateViewDelegate>delegate;
@end
